package com.ruoyi.domain;

import com.ruoyi.common.annotation.Excels;
import com.ruoyi.system.domain.ProCreateBuilding;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 付款申请单对象 pro_application_payment
 * 
 * @author ruoyi
 * @date 2020-06-23
 */
public class ProApplicationPayment extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    @Excels({
            @Excel(name = "项目名称", targetAttr = "pName", type = Excel.Type.EXPORT),
            @Excel(name ="创建时间", targetAttr = "pTime",type = Excel.Type.EXPORT)
    })
        private ProCreateBuilding proCreateBuilding;

    public ProCreateBuilding getProCreateBuilding() {
        return proCreateBuilding;
    }

    public void setProCreateBuilding(ProCreateBuilding proCreateBuilding) {
        this.proCreateBuilding = proCreateBuilding;
    }

    /** 付款申请单id */
    private Long aId;

    /** 劳务合同 */
    @Excel(name = "劳务合同")
    private String aTheLabor;

    /** 劳务金额 */
    @Excel(name = "劳务金额")
    private BigDecimal aLaborCost;

    /** 供应商名称/应付单位名称 */
    @Excel(name = "供应商名称/应付单位名称")
    private String aSupplierName;

    /** 申请人 */
    @Excel(name = "申请人")
    private String aProposer;

    /** 申请内容 */
    @Excel(name = "申请内容")
    private String aApplicationContent;

    /** 申请时间 */
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date aCreateTime;

    /** 已付金额 */
    @Excel(name = "已付金额")
    private BigDecimal pPaid;

    /** 未付金额 */
    @Excel(name = "未付金额")
    private BigDecimal pNotpaid;

    /**审批状态*/
    private int aStatus;

    /**审批意见*/
    private String aOpinion;

    public String getaOpinion() {
        return aOpinion;
    }

    public void setaOpinion(String aOpinion) {
        this.aOpinion = aOpinion;
    }

    public int getaStatus() {
        return aStatus;
    }

    public void setaStatus(int aStatus) {
        this.aStatus = aStatus;
    }

    public BigDecimal getpPaid() {
        return pPaid;
    }

    public void setpPaid(BigDecimal pPaid) {
        this.pPaid = pPaid;
    }

    public BigDecimal getpNotpaid() {
        return pNotpaid;
    }

    public void setpNotpaid(BigDecimal pNotpaid) {
        this.pNotpaid = pNotpaid;
    }

    /** 父建项目总表id */
    //@Excel(name = "父建项目总表id")
    private Long pId;

    public void setaId(Long aId) 
    {
        this.aId = aId;
    }

    public Long getaId() 
    {
        return aId;
    }
    public void setaTheLabor(String aTheLabor) 
    {
        this.aTheLabor = aTheLabor;
    }

    public String getaTheLabor() 
    {
        return aTheLabor;
    }
    public void setaLaborCost(BigDecimal aLaborCost)
    {
        this.aLaborCost = aLaborCost;
    }

    public BigDecimal getaLaborCost()
    {
        return aLaborCost;
    }
    public void setaSupplierName(String aSupplierName) 
    {
        this.aSupplierName = aSupplierName;
    }

    public String getaSupplierName() 
    {
        return aSupplierName;
    }
    public void setaProposer(String aProposer) 
    {
        this.aProposer = aProposer;
    }

    public String getaProposer() 
    {
        return aProposer;
    }
    public void setaApplicationContent(String aApplicationContent) 
    {
        this.aApplicationContent = aApplicationContent;
    }

    public String getaApplicationContent() 
    {
        return aApplicationContent;
    }
    public void setaCreateTime(Date aCreateTime) 
    {
        this.aCreateTime = aCreateTime;
    }

    public Date getaCreateTime() 
    {
        return aCreateTime;
    }
    public void setpId(Long pId) 
    {
        this.pId = pId;
    }

    public Long getpId() 
    {
        return pId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("aId", getaId())
            .append("aTheLabor", getaTheLabor())
            .append("aLaborCost", getaLaborCost())
            .append("aSupplierName", getaSupplierName())
            .append("aProposer", getaProposer())
            .append("aApplicationContent", getaApplicationContent())
            .append("aCreateTime", getaCreateTime())
            .append("pId", getpId())
                .append("proCreateBuilding",getProCreateBuilding())
                .append("pPaid",getpPaid())
                .append("pNotpaid",getpNotpaid())
                .append("aStatus",getaStatus())
                .append("aOpinion",getaOpinion())

            .toString();
    }
}
